package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("sp_goods_attr")
public class GoodAttrs {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer goods_id;
    private Integer attr_id;
    private String attr_value;
    private String add_price;

    public void setGoodsId(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public void setAttrId(Integer attr_id) {
        this.attr_id = attr_id;
    }

    public void setAttrValue(String attr_value) {
        this.attr_value = attr_value;
    }

    public void setAddPrice(String add_price) {
        this.add_price = add_price;
    }
}
